<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.UserModule.bean.*"%>
<%@page import="com.UserModule.dao.*"%>
<%@page import="java.util.*"%>
<%@page import="util.*"%>
<%@page import="com.dianbo.bean.*,com.dianbo.dao.*,com.jifen.dao.*,com.jifen.bean.JiFen"%>
<jsp:include page="../head.jsp"></jsp:include>
<body>
<div id="pager">
   <div id="main">
        	<div class="tabs">
                <ul class="tabs-nav clearfix">
                    <li>点播上行设置</li>
                </ul>
                <div class="tabs-panel">
                <form action="DianboServlet?method=setSubmit">
                	<table width="100%" class="datalist">
                              <tr>
                                <td width="19%" class="tc">类型名称:</td>
                                <%
                                 List<DianboType> dianboType = (ArrayList<DianboType>)session.getAttribute("dianboTypeList");
                                 String condition="typeId='"+dianboType.get(0).getTypeId()+"' and integralType=0";
                                 JiFen jf = new JifenDao().getJiFen("tb_integral","",condition);
                                 String fenshu= "";
                                 if(jf==null){
                                	 fenshu="";
                                 }else {
                                	 fenshu=Constant.decodeString(jf.getIntegralValue());
                                 }
                                %>
                                <td width="81%">&nbsp;&nbsp;<input type="text" name="typeName" id="typeName" readonly="readonly" value="<%=dianboType.get(0).getTypeName() %>"/></td>
                              </tr>
                              <tr>
                                <td width="19%"  class="tc">分 数：</td>
                                <td>&nbsp;&nbsp;<input type="text" name="num" id="num" value="<%=fenshu%>">&nbsp;&nbsp;<font color="red">*</font>
                                </td>
                              </tr>
                              <tr>
                              	<td colspan="2" class="tc">
                              	  <input type="button" name="doSub" id="doSub" value="确定" onclick="doSubmit('<%=dianboType.get(0).getTypeId() %>')">
                              	  &nbsp;&nbsp;
                            	  <input type="button" name="Submit2" value="取消" onClick="top.msg.close();">
                           	  </tr>
                    </table>
                    </form>
                </div>                
                
        	</div>
        </div> 
        </section >
</body>
</html>
